package com.wyd.wenyongdaAdmin.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@EnableDiscoveryClient
@EnableOpenApi
/*@MapperScan(basePackages = {
        "com.wyd.tushuglxt.xo.mapper",
        //"com.wyd.vueblog.xo.dao"
})*/
@ComponentScan(basePackages = {
        "com.wyd.wenyongdaAdmin.admin",
        "com.wyd.wenyongdaAdmin.xo",
        "com.wyd.wenyongdaAdmin.commons"
})
public class AdminRunMain {
    public static void main(String[] args) {
        SpringApplication.run(AdminRunMain.class, args);
    }
}
